package com.zbkj.crmeb.store.request;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @author cyz
 * @date 2021/4/12 15:55
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="UserCommissionRequest", description="用户资金")
public class UserCommissionRequest {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "资金类型1:佣金 2:提现 3:退款")
    private Integer type;

    @ApiModelProperty(value = "佣金订单(1:冻结 2:解冻) 提现订单(1:申请中 2:审核成功 3:审核失败)")
    private Integer status;

    @ApiModelProperty(value = "是否允许解冻 1:是 2否")
    private Integer isFreeze;

    @ApiModelProperty(value = "类型 1可提现金额 2佣金总金额  3冻结金额  4已提现金额")
    @NotNull(message = "佣金类型不能为空")
    private Integer commissionType;

}
